projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c45a32d
)
(show-paren-command-hook): Do nothing if input is pending.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 12 Aug 1993 05:33:16 +0000
(
05:33
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 12 Aug 1993 05:33:16 +0000
(
05:33
+0000)
lisp/paren.el
patch
|
blob
|
history
diff --git
a/lisp/paren.el
b/lisp/paren.el
index f6dce5e5dfa9dc103acb4414b3388f8845351e4b..c4e5bceb4d617c8537b93a8650921c09d12b8a10 100644
(file)
--- a/
lisp/paren.el
+++ b/
lisp/paren.el
@@
-42,7
+42,9
@@
;; Find the place to show, if there is one,
;; and show it until input arrives.
(defun show-paren-command-hook ()
- (if window-system
+ ;; Do nothing if no window system to display results with.
+ ;; Do nothing if input is pending.
+ (if (and window-system (sit-for 0))
(let (pos dir mismatch (oldpos (point))
(face show-paren-face))
(cond ((eq (char-syntax (following-char)) ?\()